package com.hdax.dm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hdax.dm.entity.scheduler.OrderScheduler;
import io.swagger.annotations.ApiOperation;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface OrderSchedulerPService extends IService<OrderScheduler> {

    //座位价格查询
    OrderScheduler getPrice(Long x, Long y, Long scheduleId);

    //修改座位状态为锁定
    boolean updateSeatState(String orderNo,Long userId,Long id);

    //修改座位状态为已购买
    boolean updateSeatState3(String orderNo);

    //订单超时状态修改
    boolean timeOutUpdateStart(String orderNo);

}
